package merlin.beans;

/**
 * Bean  for representing the data series and its related year-wise values.
 */

public class DataSeriesBean{

	private String seriesName;

	private String[] values = new String[6];

	public DataSeriesBean(){
	}

	public DataSeriesBean(String seriesName,String valueYear1,String valueYear2,String valueYear3,String valueYear4,String valueYear5){
		this.seriesName = seriesName;
		this.values[0] = valueYear1;
		this.values[1] = valueYear2;
		this.values[2] = valueYear3;
		this.values[3] = valueYear4;
		this.values[4] = valueYear5;
	}

	public java.lang.String getSeriesName(){
		return seriesName;
	}

	public void setSeriesName(java.lang.String value){
		seriesName = value;
	}

	public String getValueYear1(){
		return values[0];
	}

	public void setValueYear1(String value){
		values[0] = value;
	}

	public String getValueYear2(){
		return values[1];
	}

	public void setValueYear2(String value){
		values[1] = value;
	}

	public String getValueYear3(){
		return values[2];
	}

	public void setValueYear3(String value){
		values[2] = value;
	}

	public String getValueYear4(){
		return values[3];
	}

	public void setValueYear4(String value){
		values[3] = value;
	}

	public String getValueYear5(){
		return values[4];
	}

	public void setValueYear5(String value){
		values[4] = value;
	}

	public java.lang.String getValueYear6() {
		return values[5];
	}

	public void setValueYear6(String value) {
		values[5] = value;
	}

	public String[] getValues() {
		return values;
	}

	public void setValues(String[] value) {
		values = value;
	}
}
